package com.mail.portal.modular.service.impl;

import com.mail.portal.modular.mapper.BannerMapper;
import com.mail.portal.modular.model.Banner;
import com.mail.portal.modular.service.IBannerService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 创建人： Shi Heng
 * 创建时间：2018-03-29 14:21
 * QQ：374696376
 * Description：
 */
@Service
public class BannerServiceImpl implements IBannerService {

    @Resource
    BannerMapper bannerMapper;

    @Override
    public List<Map<String, Object>> list(String conditiion) {
        return bannerMapper.list(conditiion);
    }

    @Override
    public Banner selectByPrimaryKey(Object id) {
        return bannerMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<Banner> selectAll() {
        return null;
    }
}
